/**
 * 
 */
package com.bitBusy.manageyourriches.utilityClasses.navigation;

import android.content.Context;
import android.content.Intent;

import com.bitBusy.manageyourriches.activity.HomeActivity;

/**
 * Go back to home screen
 * @author SumaHarsha
 *
 */
public class GoHome {

	/** Method to go home
	 * @param the context*/
	public static void goHome(Context the_context)
	{
	if (the_context != null)
	{
		Intent intent = new Intent(the_context, HomeActivity.class);
		intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
		the_context.startActivity(intent);
	}
	}
}
